package com.demo.spring.componentScan.demo1;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@Component
@ComponentScan("com.demo.spring.componentScan.demo2")
public class Student {

	public void say() {
		System.out.println("这是一个苦逼的程序员");
	}

}
